package com.qdlc.p2p.biz.service;

import com.qdlc.p2p.dal.common.model.jpa.PageDataList;
import com.qdlc.p2p.dal.dto.AdditionalCommodity;
import com.qdlc.p2p.dal.model.AdditionalCommodityModel;

/**
 * @author wuaj
 * @version 1.1.0.0
 * @date 2016年03月17日
 */
public interface AdditionalCommodityService {

    AdditionalCommodityModel findById(long id);

    PageDataList<AdditionalCommodityModel> list(AdditionalCommodityModel model);

    AdditionalCommodity save(AdditionalCommodityModel model);

    AdditionalCommodity update(AdditionalCommodityModel model);

    int toggleStatus(AdditionalCommodityModel model);

    int delete(AdditionalCommodityModel model);

    String lotteryCommodityList(int category);
}
